package com.github.bridge.dto.esign;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class FlowDocBean {

    @NotBlank(message = "签署文档fileKey不能为空")
    @Schema(description = "签署文档fileKey", requiredMode = Schema.RequiredMode.REQUIRED)
    private String docFileKey;

    @NotBlank(message = "签署文档name不能为空")
    @Schema(description = "签署文档名称", requiredMode = Schema.RequiredMode.REQUIRED)
    private String docName;

    @Schema(description = "签署文档顺序 用于页面文档顺序显示")
    private Integer docOrder;

    @Schema(description = "签署文档密码 文档有加密时传入")
    private String docPwd;

}
